﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Forum.Model.Request
{
    public class PhotoReq
    {
        /// <summary>
        /// 作品标题
        /// </summary>
        [Required(ErrorMessage = "作品标题不能为空")]
        public string Title { get; set; }

        /// <summary>
        /// 拍摄地点
        /// </summary>
        [Required(ErrorMessage = "拍摄地点不能为空")]
        public string Location { get; set; }
    }
}
